package patterns.decorator;

import patterns.decorator.impl.Decorator;
import patterns.decorator.impl.Item;

public class Canela extends Decorator {

	private Item bebida;
	
	public Canela(Item bebida){
		this.bebida=bebida;
	}
	
	@Override
	public String getDescripcion() {
		return bebida.getDescripcion()+", Canela";
	}

	@Override
	public double coste() {
		return 0.80+bebida.coste();
	}

}
